<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="TimeHome.aspx.cs" Inherits="_TimeHome" Title="Web TimeLogger" %>
<asp:Content ID="TimeHome1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    Web Timelogger<br />
    <br />
    <asp:Panel ID="LoginPanel" runat="server" Visible="false">
        <asp:Label ID="EmailAddressLabel" runat="server" Text="Email Address:" CssClass="PageLabel"></asp:Label>
        <br />
        <asp:TextBox ID="EmailAddressTextBox" runat="server"></asp:TextBox>
        <br />
        <asp:Label ID="PasswordLabel" runat="server" Text="Password:" CssClass="PageLabel"></asp:Label>
        <br />
        <asp:TextBox ID="PasswordTextBox" runat="server" TextMode="Password"></asp:TextBox>
        <br />
        <asp:Button ID="LoginButton" runat="server" OnClick="LoginButton_Click" Text="Login" />
        <asp:CustomValidator ID="LoginValidator" runat="server" ErrorMessage="CustomValidator"></asp:CustomValidator><br />
        <br />
    </asp:Panel>
    <asp:Panel ID="LoggedInPanel" runat="server" Visible="false">
        Logged in!
        <br />
        Hi <asp:Literal ID="ScreenName" runat="server"/> you've logged <asp:Literal ID="TotalHours" runat="server"/> to date.
        <p>
        <a href="TimeEnter.aspx">Log time</a>
        <br />
        <a href="TimeView.aspx">View time</a>
        </p>
    </asp:Panel>
    
</asp:Content>
